﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddAnnouncement.aspx.cs" Inherits="Face.Web.Admin.AddAnnouncement" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta charset="utf-8" />
    <title>后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <link href="../css/bootstrap.min.css" rel="stylesheet" media="screen" />
    <style type="text/css">
        body
        {
            padding-bottom: 40px;
        }
    </style>
    <link href="../css/bootstrap-responsive.min.css" rel="stylesheet" media="screen" />
</head>
<body>
<form id="form1" runat="server">
    <%--这是顶上的导航栏--%>
    <div class="row">
        <div class="span12">
            <div class="row">
                <div class="span3 offset1">
                    <p>
                        <a href="../index.aspx">
                            <img src="/img/logo.png" alt="GatherContent logo"></a></p>
                </div>
                                <div class="span2 pull-right">
                    &nbsp
                    <div class="span3">
                        <div class="row">
                            <div class="span1">
                                <a href="/index.aspx" class=""><span style="color: Gray; font-size: small">主页</span></a>
                            </div>
                            <%if (Session["admin"] == null)
                              {%>
                            <div class="span1">
                                <a href="/login_and_signup/signup.aspx">现在就注册</a>
                            </div>
                            <div class="span1">
                                <a href="/login_and_signup/login.aspx" class="btn btn-inverse btn-mini">登录</a>
                            </div>
                            <%
                                }
                              else
                              {%>
                            <div class="btn-group">
                                <a class="btn btn-mini dropdown-toggle ajax-dropdown-toggle" data-toggle="dropdown"
                                    href="#"><span>
                                        <%=Session["admin"].ToString()%></span> <span class="caret"></span></a>
                                <ul class="dropdown-menu pull-right">
                                    <li>
                                        <asp:LinkButton ID="LinkButton1" CssClass="item" runat="server" OnClick="btn_logout">Logout</asp:LinkButton></li>
                                </ul>
                            </div>
                            <%} %>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="navbar navbar-inverse">
        <div class="navbar-inner">
            <div class="container">
            </div>
        </div>
    </div>
    <%--/这是顶上的导航栏--%>
    <div class="container">
        <div class="row">
            <div class="span3">
                <div class="well sidebar-nav">
                    <ul class="nav nav-list">
                        <li class="nav-header">管理</li>
                        <li><a href="AdminUserManager.aspx">用户管理</a></li>
                        <li><a href="AdminVideoManager.aspx">视频管理</a></li>
                        <li class="active"><a href="#">发布公告</a></li>
                        <li><a href="AdminPictureManage.aspx">图片管理</a></li>
                        <li><a href="AdminArticleManage.aspx">文章管理</a></li>
                    </ul>
                </div>
                <!--/.well -->
            </div>
            <!--/span-->
            <div class="span9">
                
                <asp:Label ID="AnnoTitleLable" runat="server" Text="公告主题"></asp:Label>
                <asp:TextBox ID="AnnoTitleText" runat="server"></asp:TextBox>
                <br />
                <asp:Label ID="AnnoContentLable" runat="server" Text="公告内容"></asp:Label>
                <asp:TextBox ID="AnnoContentText" runat="server" Height="81px" Width="388px"></asp:TextBox>   
                <br />
                <asp:Button ID="Button1" class="btn btn-success" runat="server" Text="发布" 
                    onclick="Button1_Click" />
                <br />
       
               </div>
            <!--/span9-->
        </div>
        <!--/row-->
    </div>
    <!--/span-->
    </div><!--/row-->
    <hr>
    <div id="footer">
        <div class="container">
            <p class="muted credit">
                2013 &copy HWBSB All Right Reserved</p>
        </div>
    </div>
    </form>
    <script src="../js/jquery-2.0.0.min.js" type="text/javascript"></script>
    <script src="../js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>
